#ifndef RED_SYSTEM_DIAGNOSTIC_H
#define RED_SYSTEM_DIAGNOSTIC_H

#include <llvm/Support/SourceMgr.h>

enum {
    #define DIAG(ID, Level, Msg) ID,
    #include "Diagnostic.def"
};

const char * getDiagnosticText(unsigned DiagID);

llvm::SourceMgr::DiagKind getDiagnosticKind(unsigned DiagID);

#endif /* RED_SYSTEM_DIAGNOSTIC_H */
